{"version":3,"file":"range_field.map.js","names":["BX","namespace","Landing","UI","Field","Range","data","this","items","type","isArray","values","Collection","BaseCollection","isMultiple","inputInner","createInputInner","container","create","props","className","output","createOutput","sliderFrom","sliderTo","createSlider","sliderValue","createValue","elements","frame","format","postfix","changeHandler","onChange","onValueChangeHandler","onValueChange","dragStartHandler","onDragStart","dragEndHandler","onDragEnd","rootWindow","PageObject","getRootWindow","jsDD","window","value","valueFrom","valueTo","BaseField","apply","arguments","layout","classList","add","stepPercent","length","content","undefined","from","to","onMouseUp","event","stopDrag","bind","Event","top","setValue","prototype","constructor","__proto__","init","input","appendChild","forEach","item","index","valuePercent","valueToPercent","left","valueToLeftPercent","name","onbxdragstart","onbxdrag","onDrag","onbxdragstop","registerObject","requestAnimationFrame","style","transform","onFrameLoad","outputInput","text","children","events","click","onArrowUpClick","onArrowDownClick","result","i","slice","call","document","querySelectorAll","selector","element","find","contains","getStartXOffset","parseFloat","current_node","getBoundingClientRect","width","pageXOffset","offset","x","xx","pip","sliderLeft","lastPos","filter","getValue","property","toPercent","fromPercent","preventEvent","updateValuePosition","Math","min","right","max","innerText","Dom","attr","Text","encode","createInput","isChanged","JSON","stringify"],"sources":["range_field.js"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,uBAWbD,GAAGE,QAAQC,GAAGC,MAAMC,MAAQ,SAASC,GAEpCC,KAAKC,MAAQR,GAAGS,KAAKC,QAAQJ,EAAKE,OAASF,EAAKE,MAAQ,GACxDD,KAAKI,OAAS,IAAIX,GAAGE,QAAQU,WAAWC,eACxCN,KAAKO,kBAAoBR,EAAKG,OAAS,UAAYH,EAAKG,OAAS,WACjEF,KAAKQ,WAAaR,KAAKS,mBACvBT,KAAKU,UAAYjB,GAAGkB,OAAO,MAAO,CAACC,MAAO,CAACC,UAAW,sCACtDb,KAAKc,OAASd,KAAKe,eACnBf,KAAKgB,WAAa,KAClBhB,KAAKiB,SAAWjB,KAAKkB,eACrBlB,KAAKmB,YAAcnB,KAAKoB,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